Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

On Error Resume Next

Don't use the UNID in your code! In fact, don't use any of the internal fields in your code. If you need an identifier, create one. The reason is that UNIDs and other fields may be changed by replication/save conflicts or other actions. But with that said...

You didn't post all your code so we can only guess. I suspect that there's an "On Error Resume Next" in the code. That's a bad thing to do, and I see it mostly in code written by mediocre contract programmers. The code runs without errors, and by the time people have figured out that data is being corrupted, the programmer is long gone. So that’s the first thing to check.


Feedback response number WLOO95625C created by ~Julia Feztoosterader on 02/21/2013

GetDocumentByUNID - no error, no do... (~Mark Nonjipyst... 21.Feb.13)
. . On Error Resume Next (~Fred Xanjumima... 21.Feb.13)
. . . . good point, but... (~Mark Nonjipyst... 22.Feb.13)
. . . . . . could be finding a deletion stub...... (~Justin Chugero... 22.Feb.13)
. . NotesView GetDocumentByKey doesn't ... (~Mark Nonjipyst... 22.Feb.13)
. . solution - declare notesdocument lo... (~Mark Nonjipyst... 25.Feb.13)
. . . . Not quite as you are thinking, but ... (~Fred Asatumibu... 25.Feb.13)
. . . . . . Well, shucks (~Mark Nonjipyst... 25.Feb.13)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS